/*
 * Copyright 2008 Carnegie Mellon University
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *  
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, 
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package edu.cmu.lti.sepia.infra.run.model;

public class Document {

	protected String docid;
	protected double score;
	protected String content;
	protected String title;
	protected String text;

	public Document(String docid) {
    this.docid = docid;
  }
	
  public Document(String docid, double score) {
    this.docid = docid;
    this.score = score;
  }
  
  /**
   * @return the docid
   */
  public String getDocid() {
    return docid;
  }
  /**
   * @return the score
   */
  public double getScore() {
    return score;
  }
  /**
   * @return the content
   */
  public String getContent() {
    return content;
  }
  /**
   * @param content the content to set
   */
  public void setContent(String content) {
    this.content = content;
  }
  /**
   * @return the title
   */
  public String getTitle() {
    return title;
  }
  /**
   * @param title the title to set
   */
  public void setTitle(String title) {
    this.title = title;
  }
  /**
   * @return the text
   */
  public String getText() {
    return text;
  }
  /**
   * @param text the text to set
   */
  public void setText(String text) {
    this.text = text;
  }
	
}
